/**
 * Project Name:九色鹿
 * File Name:ReqLogin.java
 * Package Name:com.fxp.project.jiuselu.web.models.sys.request
 * Date:2021-08-29 5:23 下午
 * Copyright (c) 2021, Jason.Wang All Rights Reserved.
 */
package com.fxp.project.jiuselu.web.models.user.request;

import com.fxp.project.jiuselu.web.base.request.ReqBase;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * ClassName: ReqLogin<br/>
 * Function: 登录请求的对象<br/>
 * Date: 2021-08-29 5:23 下午<br/>
 *
 * @author Jason.Wang
 * @version 1.0.0.0
 * @see
 * @since JDK 1.8
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ReqWxLogin extends ReqBase {
    /**
     *  小程序的Id
     */
    @NotNull(message = "小程序AppId不能为空")
    private String appId;
    /**
     * 小程序的JsCode，用于换取sessionKey
     */
    @NotNull(message = "JsCode不能为空")
    private String jscode;
    /**
     * 0普通登录1代理登录
     */
    @NotNull(message = "type不能为空")
    Integer type;
}
